.clearfix:after
{
    content: url(pixel.gif);
    display: block;
    clear: both;
    height: 0;
}

header
{
    width: 100%;
    height: 3em;
    background: -moz-linear-gradient(-90deg,#555,#333);
    background: -webkit-gradient(linear, left top, left bottom, from(#555), to(#333));
}

header h1
{
    margin: 0;
    padding-left: 0.5em; /* The padding is just there to move the h1 element to the center of the div */
    font-family: Rockwell, Georgia, "Times New Roman" , Times, serif;
    font-size: 38px;
    color: #ddd;
    text-shadow: rgba(0,0,0,0.5) -1px 0, rgba(0,0,0,0.3) 0 -1px, rgba(255,255,255,0.5) 0 1px, rgba(0,0,0,0.3) -1px -2px;
}

a:focus
{
    outline: none;
}

#menu
{
    position: absolute;
    top: 4em;
    left: 1em;
    bottom: 1em;
    width: 10em;
    background-color: #444;
    border-radius: 5px;
}

#menu a
{
    text-decoration: none;
    color: #ffd;
    text-shadow: rgba(0,0,0,0.5) -1px 0, rgba(0,0,0,0.3) 0 -1px, rgba(255,255,255,0.5) 0 1px, rgba(0,0,0,0.3) -1px -1px;
}

.tags
{
    list-style: none;
    margin: 0;
    padding: 5pt;
    font-size: 18pt;
}

#tagsContainer
{
    overflow: hidden;
    height: 90%;
}

#tags
{
}

#tags li span
{
    margin-left: 4px;
    padding: 0 4px;
    font-size: 14px;
    font-weight: bold;
    color: #000;
    background-color: #ffd;
    border-radius: 8px;
}

#contents
{
    position: absolute;
    top: 4em;
    left: 12em;
    bottom: 1em;
    right: 1em;
}

.image-container
{
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    font-size: 0;
}

#preview
{
    margin: 0;
    padding: 0;
    float: left;
}

#photos
{
    list-style: none;
    margin: 0;
    padding: 0;
}

#photos li
{
    float: left;
    margin: 0;
    padding: 0;
}

.bordered
{
    border: 1px solid #ff0;
    border-radius: 3px;
}

#upload, 
#sendmail
{
    position: absolute;
    top: 0.5em;
    right: 1em;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    font-size: 20px;
    color: #ddd;
    text-shadow: rgba(0,0,0,0.5) -1px 0, rgba(0,0,0,0.3) 0 -1px, rgba(255,255,255,0.5) 0 1px, rgba(0,0,0,0.3) -1px -2px;
}
